<?php require 'Public/header.php';?>
<body>
<script type="text/javascript" src="Public/org/hdjs/hdjs.min.js"></script>
    <link rel="stylesheet" type="text/css" href="Public/org/hdjs/hdjs.css"/>
	<?php require 'Public/homeTop.php';?>    
    <!--menu下栏目-->
    	<div class="category">
    		<div class="con">
    			<section class="categoryBill">
    				<!--栏目-->
                    {{foreach from="$cat" value="$value"}}
    				<dl class="categoryMan">                    
    					<a href="index.php?m=Home&c=Lists&a=lists&cat_id={{$value['cat_id']}}" class="manLink">{{$value['cat_name']}}</a>
                        {{foreach from="$value['_data']" key="$vk" value="$vd"}}
                        {{if value="$vd['cat_name']"=="0"}}				
    					<dt>
    						<a href="index.php?m=Home&c=Lists&a=lists&cat_id={{$vk}}" class="titleLink">{{$vd['cat_name']}}</a>
    					</dt>
                        {{endif}}                        
    					<dd>
                        <?php $d=0;?>
                            {{foreach from="$vd['_data']" key="$vkk" value="$vdd"}}
                            {{if value="$d"}}
                            <a href="index.php?m=Home&c=Lists&a=lists&cat_id={{$vkk}}" class="linkOhter">{{$vdd['cat_name']}}</a>
                            {{else}}
                            <a href="index.php?m=Home&c=Lists&a=lists&cat_id={{$vkk}}" class="linkFirst">{{$vdd['cat_name']}}</a>
                            {{endif}}
                        <?php $d++?>		
                            {{endforeach}}
    					</dd>
                        {{endforeach}}
    					</dl>
                    {{endforeach}}
                    <!-- 栏目end -->
    			</section>
    			<section class="show">
    				<!-- <a href="#" "></a> -->

                        <div id="slide" class="showPic">
                            <a href="#" title=""><img src="Public/org/home/images/side1.jpg"></a>
                            <a href="#" title=""><img src="Public/org/home/images/side2.jpg"></a>
                            <a href="#" title=""><img src="Public/org/home/images/side3.jpg"></a>
                        </div>
                        <script>
                            $(function () {
                                $('#slide').slide({
                                    width: 710,//宽度
                                    height: 475,//高度
                                    timeout: 3,//间隔时间
                                    bgcolor: '#1B2527',//背景颜色
                                    bgopacity: 0.5,//背景透明度
                                    // textColor: '#ddd'//文字颜色
                                });
                            })
                        </script>

    				<section class="showPicRight">
                    <?php $a=0?>
                    <?php foreach($gt as $pr):?>
                        <?php if($a==0):?>
    					<a href="{{U('Detail/show',array('goods_id'=>$pr['goods_id']))}}" class='picUp'><img src="{{$pr['list_pic']}}"/></a>
                    <?php else:?>
                        <a href="{{U('Detail/show',array('goods_id'=>$pr['goods_id']))}}" class='picDown'><img src="{{$pr['list_pic']}}"/></a>
                    <?php endif;?>
                        <?php $a++?>
                    <?php endforeach;?>
    				</section>
    			</section>
    		</div>
    	</div>
    <!--menu下栏目end-->
    
    <!--新品上架-->
	    <div class="newGoodsArea">
	    	<div class="newGoods">
	    		<!--标题-->
	    		<p class="newGoodsTitle">新品POLO衫</p>
	    		<!--内容-->
	    		<ul style="overflow: auto;padding-left:1px;">
                <?php $d=0;?>
                <?php foreach($polo as $p):?>
                    <?php if($d==1||$d==3):?>
	    			<li style="margin:5px 1px;box-shadow: 0 0 5px #ccc;">
                        <a href="{{U('Detail/show',array('goods_id'=>$p['goods_id']))}}">
                        <img src="{{$p['list_pic']}}"/>
                        </a>
                    </li>
                <?php else:?>
                    <li style="margin:5px 3px;box-shadow: 0 0 5px #ccc;">
                        <a href="{{U('Detail/show',array('goods_id'=>$p['goods_id']))}}">
                        <img src="{{$p['list_pic']}}"/>
                        </a>
                    </li>
                <?php endif;?>
                    <?php $d++;?>
                <?php endforeach;?>
	    		</ul>
	    	</div>
	    </div>
    <!--新品上架end-->
    
    <!--热销商品-->
    	<!-- <div class="hotGoodsArea">
    		<div class="hotGoods">
    			
	    		<p class="hotGoodsTitle">热销商品</p>
	    		
	    		<ul>
	    			<li class="hotGoodsUpone"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/1.jpg"/></a></li>
	    			<li class="hotGoodsUpTwo"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/2.jpg"/></a></li>
	    			<li><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/3.jpg"/></a></li>
	    			<li class="mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/4.jpg"/></a></li>
	    			<li class="hotGoodsDownTwo mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/5.jpg"/></a></li>
	    			<li class="hotGoodsDownMddle mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/6.jpg"/></a></li>
	    			<li class="hotGoodsDownFour mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/7.jpg"/></a></li>
	    			<li class="mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/hot/8.jpg"/></a></li>
	    		</ul>
    		</div>
    	</div> -->
    <!--热销商品end-->
    
    <!--特价商品-->
    	<!-- <div class="disGoodsArea">
    		<div class="disGoods">
    			
	    		<p class="disGoodsTitle">热销商品</p>
	    		
	    		<ul>
	    			<li class="disGoodsUpone"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/1.jpg"/></a></li>
	    			<li class="disGoodsUpTwo"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/2.jpg"/></a></li>
	    			<li><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/3.jpg"/></a></li>
	    			<li class="mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/4.jpg"/></a></li>
	    			<li class="disGoodsDownTwo mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/5.jpg"/></a></li>
	    			<li class="disGoodsDownMddle mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/6.jpg"/></a></li>
	    			<li class="disGoodsDownFour mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/7.jpg"/></a></li>
	    			<li class="mt"><a href="#"><img src="{{__PUBLIC__}}/org/home/images/dis/8.jpg"/></a></li>
	    		</ul>
    		</div>
    	</div> -->
    <!--特价商品end-->
  <?php require 'Public/footer.php';?>  
    
</body>
</html>

